package com.smartfactory.sail.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smartfactory.sail.entity.Purchase;
import com.smartfactory.sail.vo.PageParam;
import com.smartfactory.sail.vo.purchase.ListPurchaseResp;
import com.smartfactory.sail.vo.statics.IndexDHTXVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 采购单表 服务类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-20
 */
public interface IPurchaseService extends IService<Purchase> {

    IPage<ListPurchaseResp> getListByPage(Map<String, Object> queryParam, PageParam pageParam);

    void orderPurChaseHandle(Long orderId, long itemId);

    public List<IndexDHTXVo> indexDHTX();

}
